package meng.spring.study1;

public class Teacher {

	private Clazz clazz;
	private Book book;

	public Teacher(Book book) {
		this.book = book;
	}

	public Clazz getClazz() {
		return clazz;
	}

	public void setClazz(Clazz clazz) {
		this.clazz = clazz;
	}

	public Book getBook() {
		return book;
	}

	public void setBook(Book book) {
		this.book = book;
	}

	@Override
	public String toString() {
		return "Teacher [clazz=" + clazz + ", book=" + book + "]";
	}

}
